package com.space.dao;

import com.space.entity.Expense;

import java.util.List;
import java.util.Map;

/**
 * @author : 港某
 * @date : 2020/2/16 11:02
 */
public interface ExpenseDao {
    List<Expense> selectAllExpense();

    List<Expense> selectAllExpenseByUserId(int userId);

    Expense selectExpenseById(Map<String, Integer> map);

    void insertExpense(Map<String, Integer> map);

    void deleteExpense(int expenseId);

    void updateExpenseFlightById(Map<String, Integer> map);
}
